package com.dimension.mapper;

import com.dimension.entity.Tag;
import com.dimension.vo.ImageHistoryCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WatchHistoryMapper {
    void addImageWatchHistory(@Param("image_id") Long imageid,
                              @Param("user_id") Long userid);

    List<ImageHistoryCategory> getUserWatchHistory(@Param("user_id") Long userid,
                                                   @Param("pageNum") Integer pageNum,
                                                   @Param("pageSize") Integer pageSize);
    List<Tag> getTagList(@Param("id") Long id);

}
